package com.allprs.hmcs.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author wjf
 * @描述: 停车场数据
 * @date 2024年06月26日
 * @version: 1.0
 */

@Data
@TableName(value = "hy_parking",schema = "city")
public class HyParking {

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "所属父租户ID")
    private int parentTenantId;

    @ApiModelProperty(value = "所属租户ID")
    private int tenantId;

    @ApiModelProperty(value = "停车场编号")
    private String parkingLotNumber;

    @ApiModelProperty(value = "停车场名称")
    private String parkingLotName;

    @ApiModelProperty(value = "停车场类型")
    private String parkingLotType;

    @ApiModelProperty(value = "所属区")
    private String district;

    @ApiModelProperty(value = "所属街道")
    private String street;

    @ApiModelProperty(value = "停车场场内车位数量")
    private int totalSpots;

    @ApiModelProperty(value = "剩余停车位数量")
    private int availableSpots;

    @ApiModelProperty(value = "停车场形式")
    private String parkingLotForm;

    @ApiModelProperty(value = "每小时停车费用")
    private String hourlyRate;

    @ApiModelProperty(value = "收费标准")
    private String chargingStandard;

    @ApiModelProperty(value = "收费级别(0便宜；1一般；2较贵)")
    private int priceLevel;

    @ApiModelProperty(value = "经度")
    private double longitude;

    @ApiModelProperty(value = "纬度")
    private double latitude;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "停车场首图")
    private String mainImage;

    @ApiModelProperty(value = "创建用户")
    private String creatorUser;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creationTime;

    @ApiModelProperty(value = "修改用户")
    private String modifierUser;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modificationTime;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "删除标识(false:否, true:是)")
    private String isDeleted;

    @ApiModelProperty(value = "是否公开")
    private String isPublic;

    @ApiModelProperty(value = "营业时间")
    private String businessHours;

    @ApiModelProperty(value = "物业公司")
    private String propertyCompany;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "标签")
    private String tags;

    @ApiModelProperty(value = "商户号")
    private String merchantNumber;

    @ApiModelProperty(value = "汇泽停车场编号")
    private String huizeParkingLotNumber;

    @ApiModelProperty(value = "优惠规则")
    private String discountRule;

    @ApiModelProperty(value = "优惠规则明细")
    private String discountDetails;


}
